package win.zxshuo.www.TextUtils;

import java.util.List;

public class testMain {
    public static void main(String args[]){
        Reader reader = new Reader();
        List<String> lines = reader.ReadTextLineByLine("D:\\novel\\saved\\从清纯处子到娇媚小母犬.txt");
        List<Chapter> ps = reader.parseLinesToParagraph(lines);
        System.out.println(ps.size());
        for (Chapter p:ps){
            System.out.println("--------------------------------新的章节开始了-------------------------------");
            System.out.println(p.getTitle());
            for (String paragraph:p.getParagraphs()){
                System.out.println(paragraph);
            }
        }
    }
}
